package com.xpffly.design.adapter.demo;

import com.xpffly.design.adapter.demo.service.IUserInfo;
import com.xpffly.design.adapter.demo.service.impl.OuterUserInfo;

/**
 * @Author: xpengfei
 * @Date: 2021/4/11 19:10
 * @Description：适配器模式demo场景类
 */
public class Scene {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            IUserInfo outerUserInfo = new OuterUserInfo();
            System.out.println(outerUserInfo.getUserHomeTelNumber() + i);
        }
    }
}
